package com.zr.subClass.model;

import lombok.Data;

import java.util.List;

/**
 * Created by 天赐 on 2019/12/21.
 */
@Data
public class PageUtils<T> {
    private Integer currentPage;
    private Integer countTotal;
    private Integer index;
    private Integer pageTotal;
    private Integer pageSize;
    private List<T> list;

    public PageUtils() {
    }

    public PageUtils(Integer currentPage, Integer countTotal, Integer index, Integer pageTotal, Integer pageSize, List<T> list) {
        this.currentPage = currentPage;
        this.countTotal = countTotal;
        this.index = index;
        this.pageTotal = pageTotal;
        this.pageSize = pageSize;
        this.list = list;
    }
}
